const User = require('../../model/user');

function register(req, res) {
    const user = new User({
        username: 'tom',
        password: 'password'
    });
    user.save(function (err, res) {
        console.log(res);
    })
}
